import { createVuetify } from "vuetify";
// import * as components from "vuetify/components";
// import * as directives from "vuetify/directives";

export default defineNuxtPlugin((nuxtApp) => {
  // 导入所有组件和指令
  const vuetify = createVuetify({
    ssr: true,
    // components,
    // directives,
  });

  nuxtApp.vueApp.use(vuetify);
});
